package cn.sdormitory.violative.vo;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ViolationPatrolReceiveInfoVo {
    @ApiModelProperty(value = "学生编号")
    private Long studentId;

    @ApiModelProperty(value = "姓名")
    private String studentName;

    @ApiModelProperty(value = "班级")
    private String className;

    @ApiModelProperty(value = "学生照片")
    private String stuPhoto;

    @ApiModelProperty("违纪巡查编号")
    private Long violationPatrolId;

    @ApiModelProperty("班级违纪编号")
    private Long dvId;

    @ApiModelProperty(value = "卫生检查时间段(1:上午 2:下午 3:晚自习)")
    private String timeSlot;

    @ApiModelProperty(value = "违纪类型(1:着装 2:睡觉 3:玩游戏 4:外出 5:抽烟)")
    private String dvType;

    @ApiModelProperty(value = "认领老师用户名")
    private String receiveTeacherUserName;

    @ApiModelProperty(value = "认领时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
    @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date receiveTime;
}
